home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Texteditors / Origami / Sources / src / lib / Makefile < prev    next >
Encoding:
Makefile  |  1996-09-27  |  877 b   |  44 lines

  1. COMMON_HDRS=    ../h/rcformat.h ../h/token.h ../h/rc_comp_str.h ../h/getmsg.h
  2.  
  3. COMMON_OBJS=
  4.  
  5. LIB_CPP_FLAGS=    -DLIB_COMPILE
  6.  
  7. include ../../Configfile
  8.  
  9. all install:    check_common orilib.a
  10.  
  11.  
  12. deinstall awk tags:
  13.  
  14. lint:        lint_test $(LINTFILES) awk
  15.         $(LINT) $(CPPFLAGS) $(LINTFLAGS) $(LINTFILES)
  16.  
  17. OBJS=        dir_name.o filetyp.o getsysfile.o homeexp.o rcread.o \
  18.         rcwrite.o refcodetag.o refcomp.o refdecodetg.o refdecomp.o \
  19.         $(ADD_LIB_FILES)
  20.  
  21. orilib.a:    $(OBJS)
  22.         rm -f $@
  23.         $(AR) $@ $(OBJS)
  24.         $(RANLIB) $@
  25.  
  26. empty_depend:
  27.         rm -f *dependencies*
  28.         > dependencies
  29.  
  30. pseudo_depend:    $(COMMON_HDRS) ../lib/*.h awk empty_depend
  31.         echo $(OBJS) $(COMMON_OBJS) ":" *.h $(COMMON_HDRS) >>dependencies
  32.  
  33. depend:        $(COMMON_HDRS) awk empty_depend
  34.         $(GEN_DEPEND)
  35.  
  36. clean:
  37.         rm -f core symbol.out err.out $(OBJS) *.u.c tags
  38.  
  39. clobber:        clean empty_depend
  40.         rm -f orilib.a
  41.  
  42. include dependencies
  43. #{{{}}}
  44.